<template>
  <div>
      <el-tag type="danger" v-if="statusVal=='DRAFT'">待审核</el-tag>
      <el-tag type="primary" v-else-if="statusVal=='CHECKED'">已审核</el-tag>
      <el-tag type="success" v-else-if="statusVal=='RECORDED'">已记账</el-tag>
      <el-tag type="info" v-else>{{statusVal}}</el-tag>
  </div>
</template>

<script setup>

const props = defineProps({
  statusVal: {
    type: String,
    default: ""
  },
});

</script>